home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
magazine
/
pctchnqs
/
1990
/
number6
/
structs.asm
< prev
next >
Wrap
Assembly Source File
|
1990-11-27
|
988b
|
25 lines
; BitMap Structure
; -----------------------------------------------
struct bmap
bmType dw ? ; Set to Zero
bmWidth dw ? ; Width of bitmap (in pixels)
bmHeight dw ? ; Height of bitmap in raster lines
bmWidthBytes dw ? ; Bytes per raster line
bmPlanes db ? ; # of color planes in bitmap
bmBitsPixel db ? ; # of adjacent color bits in each pixel
bmBits dq ? ; Ptr to the BitMapData variable's addr.
bmWidDim dw ? ; Width of bitmap in 0.1 mm
bmHigDim dw ? ; Height of bitmap in 0.1 mm
BitMapData db dup(?) ; The bitmap data itself
ends
; MetaPictFile Structure
; -----------------------------------------------
struct MetaPFile
mfMM dw ? ; Mapping mode
mfxExt dw ? ; X Extent
mfyExt dw ? ; Y Extent
mfData db dup(?) ; The metafile itself
ends